package com.web.pojo.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author: wws
 * @Date: 2021/1/9 12:11
 * describe:
 */
public class GateWay implements Serializable {
    private Integer gatewayId;//自增主键
    private String gatewayEui;//网关设备唯一标识码
    private String gatewayName;//网关名
    private Integer gatewayAddressId;//设备位置树id
    private Float gatewayLongitude;//经度
    private Float gatewayLatitude;//纬度
    private Float gatewayHeight;//高度
    private String gatewayTargetIp;//指向服务器IP
    private Integer gatewayUpLinkPort;//上行端口
    private Integer gatewayDownLinkPort;//下行端口
    private String gatewayCommunicationType;//网关与服务器通信(有线，WIFI,4G)
    private String gatewaySim;//SIM卡(移动，联通，电信)
    private String gatewaySx1301Operator;//SX1301运营商
    private Integer gatewaySx1301Csq;//SX1301信号强度CSQ
    private String gatewaySx1301Ip;//4G IP地址
    private String gatewaySx1301Status;//SX1301状态（运行，停机）
    private Integer gatewaySx1301Delay;//SX1301网关与服务器延时
    private Integer gatewaySx1301Power;//SX1301发送功率
    private String gatewaySx1301Frequency;//SX1301收发频段
    private String gatewayEthernetType;//静态/DHCP
    private String gatewayEthernetIp;//网关IP地址
    private String gatewayEthernetSubnetMask;//子网掩码
    private String gatewayEthernetAddress;//以太网关地址
    private String gatewayEthernetDns1;//DNS1
    private String gatewayEthernetDns2;//DNS2
    private String gatewayNetworkServers;//网络服务名
    private String gatewayProfilesName;//网关协议名
    private String gatewayProfilesEnabledChannels;//网关协议启用的频道
    private String gatewayMark;//备注
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;//创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateDate;//修改时间
    private String createBy;//创建者
    private String updateBy;//更新者
    private Integer delFlag;//是否删除

    public GateWay() {
    }

    public GateWay(Integer gatewayId, String gatewayEui, String gatewayName, Integer gatewayAddressId, Float gatewayLongitude, Float gatewayLatitude, Float gatewayHeight, String gatewayTargetIp, Integer gatewayUpLinkPort, Integer gatewayDownLinkPort, String gatewayCommunicationType, String gatewaySim, String gatewaySx1301Operator, Integer gatewaySx1301Csq, String gatewaySx1301Ip, String gatewaySx1301Status, Integer gatewaySx1301Delay, Integer gatewaySx1301Power, String gatewaySx1301Frequency, String gatewayEthernetType, String gatewayEthernetIp, String gatewayEthernetSubnetMask, String gatewayEthernetAddress, String gatewayEthernetDns1, String gatewayEthernetDns2, Date createDate, Date updateDate, String createBy, String updateBy, Integer delFlag, String gatewayNetworkServers, String gatewayProfilesName, String gatewayProfilesEnabledChannels, String gatewayMark) {
        this.gatewayId = gatewayId;
        this.gatewayEui = gatewayEui;
        this.gatewayName = gatewayName;
        this.gatewayAddressId = gatewayAddressId;
        this.gatewayLongitude = gatewayLongitude;
        this.gatewayLatitude = gatewayLatitude;
        this.gatewayHeight = gatewayHeight;
        this.gatewayTargetIp = gatewayTargetIp;
        this.gatewayUpLinkPort = gatewayUpLinkPort;
        this.gatewayDownLinkPort = gatewayDownLinkPort;
        this.gatewayCommunicationType = gatewayCommunicationType;
        this.gatewaySim = gatewaySim;
        this.gatewaySx1301Operator = gatewaySx1301Operator;
        this.gatewaySx1301Csq = gatewaySx1301Csq;
        this.gatewaySx1301Ip = gatewaySx1301Ip;
        this.gatewaySx1301Status = gatewaySx1301Status;
        this.gatewaySx1301Delay = gatewaySx1301Delay;
        this.gatewaySx1301Power = gatewaySx1301Power;
        this.gatewaySx1301Frequency = gatewaySx1301Frequency;
        this.gatewayEthernetType = gatewayEthernetType;
        this.gatewayEthernetIp = gatewayEthernetIp;
        this.gatewayEthernetSubnetMask = gatewayEthernetSubnetMask;
        this.gatewayEthernetAddress = gatewayEthernetAddress;
        this.gatewayEthernetDns1 = gatewayEthernetDns1;
        this.gatewayEthernetDns2 = gatewayEthernetDns2;
        this.createDate = createDate;
        this.updateDate = updateDate;
        this.createBy = createBy;
        this.updateBy = updateBy;
        this.delFlag = delFlag;
        this.gatewayNetworkServers = gatewayNetworkServers;
        this.gatewayProfilesName = gatewayProfilesName;
        this.gatewayProfilesEnabledChannels = gatewayProfilesEnabledChannels;
        this.gatewayMark = gatewayMark;
    }

    public Integer getGatewayId() {
        return gatewayId;
    }

    public void setGatewayId(Integer gatewayId) {
        this.gatewayId = gatewayId;
    }

    public String getGatewayEui() {
        return gatewayEui;
    }

    public void setGatewayEui(String gatewayEui) {
        this.gatewayEui = gatewayEui;
    }

    public String getGatewayName() {
        return gatewayName;
    }

    public void setGatewayName(String gatewayName) {
        this.gatewayName = gatewayName;
    }

    public Integer getGatewayAddressId() {
        return gatewayAddressId;
    }

    public void setGatewayAddressId(Integer gatewayAddressId) {
        this.gatewayAddressId = gatewayAddressId;
    }

    public Float getGatewayLongitude() {
        return gatewayLongitude;
    }

    public void setGatewayLongitude(Float gatewayLongitude) {
        this.gatewayLongitude = gatewayLongitude;
    }

    public Float getGatewayLatitude() {
        return gatewayLatitude;
    }

    public void setGatewayLatitude(Float gatewayLatitude) {
        this.gatewayLatitude = gatewayLatitude;
    }

    public Float getGatewayHeight() {
        return gatewayHeight;
    }

    public void setGatewayHeight(Float gatewayHeight) {
        this.gatewayHeight = gatewayHeight;
    }

    public String getGatewayTargetIp() {
        return gatewayTargetIp;
    }

    public void setGatewayTargetIp(String gatewayTargetIp) {
        this.gatewayTargetIp = gatewayTargetIp;
    }

    public Integer getGatewayUpLinkPort() {
        return gatewayUpLinkPort;
    }

    public void setGatewayUpLinkPort(Integer gatewayUpLinkPort) {
        this.gatewayUpLinkPort = gatewayUpLinkPort;
    }

    public Integer getGatewayDownLinkPort() {
        return gatewayDownLinkPort;
    }

    public void setGatewayDownLinkPort(Integer gatewayDownLinkPort) {
        this.gatewayDownLinkPort = gatewayDownLinkPort;
    }

    public String getGatewayCommunicationType() {
        return gatewayCommunicationType;
    }

    public void setGatewayCommunicationType(String gatewayCommunicationType) {
        this.gatewayCommunicationType = gatewayCommunicationType;
    }

    public String getGatewaySim() {
        return gatewaySim;
    }

    public void setGatewaySim(String gatewaySim) {
        this.gatewaySim = gatewaySim;
    }

    public String getGatewaySx1301Operator() {
        return gatewaySx1301Operator;
    }

    public void setGatewaySx1301Operator(String gatewaySx1301Operator) {
        this.gatewaySx1301Operator = gatewaySx1301Operator;
    }

    public Integer getGatewaySx1301Csq() {
        return gatewaySx1301Csq;
    }

    public void setGatewaySx1301Csq(Integer gatewaySx1301Csq) {
        this.gatewaySx1301Csq = gatewaySx1301Csq;
    }

    public String getGatewaySx1301Ip() {
        return gatewaySx1301Ip;
    }

    public void setGatewaySx1301Ip(String gatewaySx1301Ip) {
        this.gatewaySx1301Ip = gatewaySx1301Ip;
    }

    public String getGatewaySx1301Status() {
        return gatewaySx1301Status;
    }

    public void setGatewaySx1301Status(String gatewaySx1301Status) {
        this.gatewaySx1301Status = gatewaySx1301Status;
    }

    public Integer getGatewaySx1301Delay() {
        return gatewaySx1301Delay;
    }

    public void setGatewaySx1301Delay(Integer gatewaySx1301Delay) {
        this.gatewaySx1301Delay = gatewaySx1301Delay;
    }

    public Integer getGatewaySx1301Power() {
        return gatewaySx1301Power;
    }

    public void setGatewaySx1301Power(Integer gatewaySx1301Power) {
        this.gatewaySx1301Power = gatewaySx1301Power;
    }

    public String getGatewaySx1301Frequency() {
        return gatewaySx1301Frequency;
    }

    public void setGatewaySx1301Frequency(String gatewaySx1301Frequency) {
        this.gatewaySx1301Frequency = gatewaySx1301Frequency;
    }

    public String getGatewayEthernetType() {
        return gatewayEthernetType;
    }

    public void setGatewayEthernetType(String gatewayEthernetType) {
        this.gatewayEthernetType = gatewayEthernetType;
    }

    public String getGatewayEthernetIp() {
        return gatewayEthernetIp;
    }

    public void setGatewayEthernetIp(String gatewayEthernetIp) {
        this.gatewayEthernetIp = gatewayEthernetIp;
    }

    public String getGatewayEthernetSubnetMask() {
        return gatewayEthernetSubnetMask;
    }

    public void setGatewayEthernetSubnetMask(String gatewayEthernetSubnetMask) {
        this.gatewayEthernetSubnetMask = gatewayEthernetSubnetMask;
    }

    public String getGatewayEthernetAddress() {
        return gatewayEthernetAddress;
    }

    public void setGatewayEthernetAddress(String gatewayEthernetAddress) {
        this.gatewayEthernetAddress = gatewayEthernetAddress;
    }

    public String getGatewayEthernetDns1() {
        return gatewayEthernetDns1;
    }

    public void setGatewayEthernetDns1(String gatewayEthernetDns1) {
        this.gatewayEthernetDns1 = gatewayEthernetDns1;
    }

    public String getGatewayEthernetDns2() {
        return gatewayEthernetDns2;
    }

    public void setGatewayEthernetDns2(String gatewayEthernetDns2) {
        this.gatewayEthernetDns2 = gatewayEthernetDns2;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public String getGatewayNetworkServers() {
        return gatewayNetworkServers;
    }

    public void setGatewayNetworkServers(String gatewayNetworkServers) {
        this.gatewayNetworkServers = gatewayNetworkServers;
    }

    public String getGatewayProfilesName() {
        return gatewayProfilesName;
    }

    public void setGatewayProfilesName(String gatewayProfilesName) {
        this.gatewayProfilesName = gatewayProfilesName;
    }

    public String getGatewayProfilesEnabledChannels() {
        return gatewayProfilesEnabledChannels;
    }

    public void setGatewayProfilesEnabledChannels(String gatewayProfilesEnabledChannels) {
        this.gatewayProfilesEnabledChannels = gatewayProfilesEnabledChannels;
    }

    public String getGatewayMark() {
        return gatewayMark;
    }

    public void setGatewayMark(String gatewayMark) {
        this.gatewayMark = gatewayMark;
    }

    @Override
    public String toString() {
        return "GateWay{" +
                "gatewayId=" + gatewayId +
                ", gatewayEui='" + gatewayEui + '\'' +
                ", gatewayName='" + gatewayName + '\'' +
                ", gatewayAddressId=" + gatewayAddressId +
                ", gatewayLongitude=" + gatewayLongitude +
                ", gatewayLatitude=" + gatewayLatitude +
                ", gatewayHeight=" + gatewayHeight +
                ", gatewayTargetIp='" + gatewayTargetIp + '\'' +
                ", gatewayUpLinkPort=" + gatewayUpLinkPort +
                ", gatewayDownLinkPort=" + gatewayDownLinkPort +
                ", gatewayCommunicationType='" + gatewayCommunicationType + '\'' +
                ", gatewaySim='" + gatewaySim + '\'' +
                ", gatewaySx1301Operator='" + gatewaySx1301Operator + '\'' +
                ", gatewaySx1301Csq=" + gatewaySx1301Csq +
                ", gatewaySx1301Ip='" + gatewaySx1301Ip + '\'' +
                ", gatewaySx1301Status='" + gatewaySx1301Status + '\'' +
                ", gatewaySx1301Delay=" + gatewaySx1301Delay +
                ", gatewaySx1301Power=" + gatewaySx1301Power +
                ", gatewaySx1301Frequency='" + gatewaySx1301Frequency + '\'' +
                ", gatewayEthernetType='" + gatewayEthernetType + '\'' +
                ", gatewayEthernetIp='" + gatewayEthernetIp + '\'' +
                ", gatewayEthernetSubnetMask='" + gatewayEthernetSubnetMask + '\'' +
                ", gatewayEthernetAddress='" + gatewayEthernetAddress + '\'' +
                ", gatewayEthernetDns1='" + gatewayEthernetDns1 + '\'' +
                ", gatewayEthernetDns2='" + gatewayEthernetDns2 + '\'' +
                ", createDate=" + createDate +
                ", updateDate=" + updateDate +
                ", createBy='" + createBy + '\'' +
                ", updateBy='" + updateBy + '\'' +
                ", delFlag=" + delFlag +
                ", gatewayNetworkServers='" + gatewayNetworkServers + '\'' +
                ", gatewayProfilesName='" + gatewayProfilesName + '\'' +
                ", gatewayProfilesEnabledChannels='" + gatewayProfilesEnabledChannels + '\'' +
                ", gatewayMark='" + gatewayMark + '\'' +
                '}';
    }
}
